using System;
using System.Data;
using System.Collections;

namespace APP.QUANLY.Entity.ConditionForm
{
    /// <summary>
    /// Summary description for KHO.
   /// </summary>
    public class KHOConditionForm
    {

        #region Fields
      private Guid _MAKHO;
      private string _MACODE;
      private string _TENKHO;
      private string _DIACHI;
      private bool _ISUSE;
      private bool _KHOMACDINH;
      private string _GHICHU;
      private HOADONXUATKHOCHITIETList _listHOADONXUATKHOCHITIET;
      private HOADONHAPKHOCHITIETList _listHOADONHAPKHOCHITIET;
      private KHOMATHANGList _listKHOMATHANG;
        #endregion

        #region Properties
	public bool IsSetMAKHO;  
    public bool IsMAKHONullable
      { get { return false;  } }
      public Guid MAKHO
      {
         get { return _MAKHO; }
         set { 
		_MAKHO = value; 
		IsSetMAKHO = true;
		}
      }
	public bool IsSetMACODE;
	public bool IsMACODENullable
      { get { return true;  } }
      public string MACODE
      {
         get { return _MACODE;  }
         set { 
		_MACODE = value; 
		IsSetMACODE = true;
		}
      }
	public bool IsSetTENKHO;
	public bool IsTENKHONullable
      { get { return true;  } }
      public string TENKHO
      {
         get { return _TENKHO;  }
         set { 
		_TENKHO = value; 
		IsSetTENKHO = true;
		}
      }
	public bool IsSetDIACHI;
	public bool IsDIACHINullable
      { get { return true;  } }
      public string DIACHI
      {
         get { return _DIACHI;  }
         set { 
		_DIACHI = value; 
		IsSetDIACHI = true;
		}
      }
	public bool IsSetISUSE;
	public bool IsISUSENullable
      { get { return true;  } }
      public bool ISUSE
      {
         get { return _ISUSE;  }
         set { 
		_ISUSE = value; 
		IsSetISUSE = true;
		}
      }
	public bool IsSetKHOMACDINH;
	public bool IsKHOMACDINHNullable
      { get { return true;  } }
      public bool KHOMACDINH
      {
         get { return _KHOMACDINH;  }
         set { 
		_KHOMACDINH = value; 
		IsSetKHOMACDINH = true;
		}
      }
	public bool IsSetGHICHU;
	public bool IsGHICHUNullable
      { get { return true;  } }
      public string GHICHU
      {
         get { return _GHICHU;  }
         set { 
		_GHICHU = value; 
		IsSetGHICHU = true;
		}
      }
      public HOADONXUATKHOCHITIETList HOADONXUATKHOCHITIETList
      { get { return _listHOADONXUATKHOCHITIET; } }
      public HOADONHAPKHOCHITIETList HOADONHAPKHOCHITIETList
      { get { return _listHOADONHAPKHOCHITIET; } }
      public KHOMATHANGList KHOMATHANGList
      { get { return _listKHOMATHANG; } }
        #endregion

        #region Constructors
        public KHOConditionForm()
        {
         Reset();
        }
        #endregion

        public void Reset()
        {
            	 _MAKHO = EmptyValues.v_Guid;
	IsSetMAKHO = false;
	 _MACODE = EmptyValues.v_string;
	IsSetMACODE = false;
	 _TENKHO = EmptyValues.v_string;
	IsSetTENKHO = false;
	 _DIACHI = EmptyValues.v_string;
	IsSetDIACHI = false;
	 _ISUSE = EmptyValues.v_bool;
	IsSetISUSE = false;
	 _KHOMACDINH = EmptyValues.v_bool;
	IsSetKHOMACDINH = false;
	 _GHICHU = EmptyValues.v_string;
	IsSetGHICHU = false;
         _listHOADONXUATKHOCHITIET = new HOADONXUATKHOCHITIETList();
         _listHOADONHAPKHOCHITIET = new HOADONHAPKHOCHITIETList();
         _listKHOMATHANG = new KHOMATHANGList();
        }
    }
}